<template>
  <div class="author-container">
    <div class="header">
      <PanThumb 
        image="https://m.imooc.com/static/wap/static/common/img/logo-small@2x.png"
        width="60px"
        height="60px"
      >
        xjc
      </PanThumb>
      <div class="header-desc">
        <h3>XJC</h3>
        <span>一名前端开发</span>
      </div>
    </div>
    <div class="info">代码都是bug啊，太难了</div>
  </div>
</template>

<script setup>
import {defineAsyncComponent} from 'vue'

const PanThumb = defineAsyncComponent(() => import('@/components/PanThumb'))
</script>

<style scoped lang="scss">
.author-container {
  .header {
    display: flex;
    .header-desc {
      margin-left: 12px;
      flex-direction: column;
      @include fj(space-around);
      span {
        font-size: $font-size-medium;
      }
    }
  }
  .info {
    margin-top: 16px;
    line-height: 22px;
    font-size: $font-size-medium;
    text-indent: 26px;
  }
}
</style>
